package com.elong.android.specialhouse.entity;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @author kaiqi.li
 * @Description
 * @date 2015/8/24 10:13
 */
public class RegionResult {

    @JSONField(name = "RegionId")
    public String regjionId ;

    @JSONField(name = "RegionNameCn")
    public String regionNameCn ;

    @JSONField(name = "ParentId")
    public String parentId ;

    @JSONField(name = "ParentNameCn")
    public String parentNameCn ;

    @JSONField(name = "RegionType")
    public int regionType ;


    @JSONField(name = "ComposedName")
    public String composedName ;

    @Override
    public boolean equals(Object o) {

        if (o == null) {
            return false ;
        }
        if (this == o) {
            return true ;
        }
        if (o instanceof RegionResult) {
            RegionResult arg = ((RegionResult) o) ;
            return arg.toString().equals(this.toString());
        }
        return false;
    }
    @Override
    public String toString() {
        return "RegionResult{" +
                "regjionId='" + regjionId + '\'' +
                ", regionNameCn='" + regionNameCn + '\'' +
                ", parentId='" + parentId + '\'' +
                ", parentNameCn='" + parentNameCn + '\'' +
                ", regionType=" + regionType +
                ", composedName='" + composedName + '\'' +
                '}';
    }
}
